home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-09 | 713 b | 42 lines | [TEXT/MPS ] |
- 01'//%% MT2Trivial Generation: Program heading'
- 02'#define '
- 03' void '
- 04' (void);'
- 05' void Do'
- 06' ()'
- 07' { '
- 08' } /* Do'
- 09'}'
- 10' */'
- 11' : --disable */'
- 12' /* '
- 13' /*'
- 14'; /*%%?*/'
- 15';'
- 16' '
- 17' '
- 18' short itemHit;'
- 19' DialogPtr DialogW;'
- 20' Boolean done = false;'
- 21' DialogW = GetNewDialog ('
- 22',0L, (WindowPtr)-1L);'
- 23' while ( ! done )'
- 24' ModalDialog (0L, &itemHit); /*%% >> Change it for modless dialog <<*/'
- 25' itemHit = Alert ('
- 26', 0L);'
- 27' switch (itemHit)'
- 28' break;'
- 29' switch (mitem)'
- 30' case '
- 31':'
- 32'Do'
- 33' }'
- 34' done = (itemHit == '
- 35')'
- 36' DisposeDialog (DialogW);'
- 37' ()'
- 38' ExitToShell();'
- 39' DITL'
- 40'DoNewWindow'
- 41'()'
-